Filename property

Applies to both the ecCompress and ecExtract controls. Filename is the name of the cabinet file to work with, whether compressing or extracting.

Syntax

object.Filename = value

PartDescription
objectThe object being manipulated.
valueThe path to the file to be created or opened.

Remarks

Use a fully qualified path (one with a drive and folders) whenever possible. For ecCompress, choosing a file that already exists will overwrite the existing file, not add files to it. This functionality is not supported by the cabinet file format.

Note: Setting the Filename property automatically invokes the Reset method, clearing all previous information. Always set the Filename property before other properties.

See Also

Reset method